package com.qiangsheng.gmall.realtime.util

import java.util.ResourceBundle

object MyPropsUtils {
  private val bundle: ResourceBundle = ResourceBundle.getBundle("config")

  def apply(key:String) = {
    bundle.getString(key)
  }

  def main(args: Array[String]): Unit = {
    println(MyPropsUtils("kafka.bootstrap-servers"))
  }
}
